package com.zhiliang.waibao.myapplication.net;
import com.zhiliang.waibao.myapplication.bean.LoginBean;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2018/3/19.
 */

public interface BaseApiService {
//    //获取首页数据
//    @GET("api/api/indexlist")
//    Observable<MainBean> getMaindata(@Query("device") String imei);
@GET("api/users/login")
Observable<LoginBean> login(@Query("tel")String tel, @Query("password")String password);
}
